package org.jsets.fastboot.model;

import java.io.Serializable;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModelProperty;

/**
 * 
 * 响应
 *
 * @author wangjie (https://github.com/wj596)
 * @date 2021.07.10 21:57
 * @since 0.1
 */
@JsonInclude(value = JsonInclude.Include.NON_NULL)
public abstract class Respond implements Serializable {

	private static final long serialVersionUID = 1L;

	@ApiModelProperty(value="是否操作成功")
	private boolean succeed;
	
	@ApiModelProperty(value = "业务编码")
	private Integer code;
	
	@ApiModelProperty(value = "消息")
	private String message;
	
	public boolean isSucceed() {
		return succeed;
	}

	public void setSucceed(boolean succeed) {
		this.succeed = succeed;
	}

	public Integer getCode() {
		return code;
	}

	public void setCode(Integer code) {
		this.code = code;
	}

	public String getMessage() {
		return message;
	}
	
	public void setMessage(String message) {
		this.message = message;
	}
	
}